home *** CD-ROM | disk | FTP | other *** search
- SPMV(3F) Last changed: 11-2-98
-
-
- NNAAMMEE
- SSSSPPMMVV, DDSSPPMMVV - Multiplies a real or complex symmetric packed matrix by
- a real or complex vector
-
- SSYYNNOOPPSSIISS
- Real
-
- CCAALLLL SSSSPPMMVV ((_u_p_l_o,, _n,, _a_l_p_h_a,, _a_p,, _x,, _i_n_c_x,, _b_e_t_a,, _y,, _i_n_c_y))
-
- Double precision
-
- CCAALLLL DDSSPPMMVV ((_u_p_l_o,, _n,, _a_l_p_h_a,, _a_p,, _x,, _i_n_c_x,, _b_e_t_a,, _y,, _i_n_c_y))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- These routines perform the following matrix-vector operation:
-
- _y <-_a_l_p_h_a _A_x + _b_e_t_a _y
-
- where _a_l_p_h_a and _b_e_t_a are scalars, _x and _y are _n-element vectors, and _A
- is an _n-by-_n symmetric packed matrix.
-
- These routines have the following arguments:
-
- _u_p_l_o Character*1. (input)
- Specifies whether the upper or lower triangular part of
- matrix _A is packed into the array argument _a_p, as follows:
-
- _u_p_l_o= 'U' or 'u': the upper triangular part of _A is being
- supplied in the argument _a_p.
- _u_p_l_o= 'L' or 'l': the lower triangular part of _A is being
- supplied in the argument _a_p.
-
- _n Integer. (input)
- Specifies the order of matrix _A. _n >= 0.
-
- _a_l_p_h_a Scalar alpha. (input)
- SSSSPPMMVV: Real.
- DDSSPPMMVV: Double precision.
-
- _a_p Array of dimension (_n(_n+1))/2 (input)
- SSSSPPMMVV: Real array.
- DDSSPPMMVV: Double precision array.
-
- Before entry with _u_p_l_o = 'U' or 'u', array _a_p must contain
- the upper triangular part of the symmetric matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(1,2), _a_p(3) contains _A(2,2), and so
- on.
-
- Before entry with _u_p_l_o = 'L' or 'l', array _a_p must contain
- the lower triangular part of the symmetric matrix packed
- sequentially, column-by-column, so that _a_p(1) contains
- _A(1,1), _a_p(2) contains _A(2,1), _a_p(3) contains _A(3,1), and so
- on.
-
- _x Array of dimension 1+(_n-1) * |_i_n_c_x|. (input)
- SSSSPPMMVV: Real array.
- DDSSPPMMVV: Double precision array.
- Contains vector _x.
-
- _i_n_c_x Integer. (input)
- Specifies the increment for the elements of _x. _i_n_c_x must
- not be 0.
-
- _b_e_t_a Scalar beta. (input)
- SSSSPPMMVV: Real.
- DDSSPPMMVV: Double precision.
- If _b_e_t_a is supplied as 0, _y need not be set on input.
-
- _y Array of dimension 1+(_n-1) * |_i_n_c_y|. (input and output)
- SSSSPPMMVV: Real array.
- DDSSPPMMVV: Double precision array.
- Contains vector _y. On exit, the updated vector overwrites
- array _y.
-
- _i_n_c_y Integer. (input)
- Specifies the increment for the elements of _y. _i_n_c_y must
- not be 0.
-
- NNOOTTEESS
- SSSSPPMMVV/DDSSPPMMVV is a Level 2 Basic Linear Algebra Subprogram (Level 2
- BLAS).
-
- When working backward (_i_n_c_x < 0 or _i_n_c_y < 0), each routine starts at
- the end of the vector and moves backward, as follows:
-
- _x(1-_i_n_c_x * (_n-1)), _x(1-_i_n_c_x * (_n-2)) , ..., _x(1)
-
- _y(1-_i_n_c_y * (_n-1)), _y(1-_i_n_c_y * (_n-2)) , ..., _y(1)
-
- SSEEEE AALLSSOO
- HHPPMMVV(3F)
-
- This man page is available only online.
-